import PropTypes from 'prop-types';
import * as React from 'react';
import Svg, { G, Path, Rect } from 'react-native-svg';

function Leo({ color, height, width, style }) {
  return (
    <Svg height={height} width={width} viewBox="0 0 512 512" style={style}>
      <Path
        d="M176 264l-40 56-64 48-16 32v16h48l8-24 64-24 40-64zM496.415 319.585a8.012 8.012 0 01-12.089-.882A62.16 62.16 0 01472 281.373v-18.746A46.627 46.627 0 00425.373 216H388v-16h37.373A62.627 62.627 0 01488 262.627v18.746a46.278 46.278 0 009.127 27.726 8.03 8.03 0 01-.712 10.486zM336 288v38.667a100 100 0 0020 60l4 5.333-16 16-7.155 3.578A16 16 0 00328 425.889V440h40l48-48V288z"
        fill="#46349e"
      />
      <Path
        d="M448 312v-51.716A68.283 68.283 0 00428 212a68.283 68.283 0 00-48.284-20H280l-144-56H64l-40 32 6.75 25 18.635-.738a5.981 5.981 0 016.206 6.345 5.98 5.98 0 01-5.868 5.611L33 204.5l6 19.5h25l80 16 48 104h91.835a31.116 31.116 0 008.183-1.1L376 320l2.813 9.847A63.637 63.637 0 00440 376v32l-7.155 3.578A16 16 0 00424 425.889V440h40l24-32v-48z"
        fill="#5f4bbc"
      />
      <Path
        d="M200 304v96l-17.473 11.648a14.659 14.659 0 00-6.527 12.2V440h56l16-80v-64z"
        fill="#5f4bbc"
      />
      <Rect fill="#362684" height={16} rx={8} width={32} x={24} y={160} />
      <Path
        d="M64 136v-.541a59.645 59.645 0 0125.579-49.254l.568-.394a76.824 76.824 0 0144-13.827C152.265 72 174 72 174 72l-14 24a168.274 168.274 0 01150.51 93.02L312 192h-80l2.144 2.144a150.585 150.585 0 0133.335 50.556L272 256l-13.074 5.23A150.583 150.583 0 01203 272h-3v72a94.721 94.721 0 01-76.385-38.707L64 224l40-48v-40z"
        fill="#c378cb"
      />
      <G fill="#b267ba">
        <Path d="M142.77 143.86l2.367-15.824 30.002 4.49-2.368 15.824zM129.88 183.387l6.272-14.72 27 11.504-6.273 14.72zM138.712 221.924l10.752-11.857 21.509 19.505-10.753 11.857zM100.712 228.002l12.432-10.064 16.995 20.993-12.432 10.064zM140.359 265.195l12.24-10.304 15.996 19.002-12.24 10.304zM185.242 231.236l7.376-14.192 25.986 13.505-7.376 14.192zM175.65 191.495l5.44-15.04 28.99 10.486-5.44 15.04zM206.142 151.853l3.888-15.52 31.995 8.016-3.888 15.52zM112 96h24v16h-24z" />
      </G>
      <Path
        d="M272 296h16v24h-16zM304 296h16v16h-16zM367.121 311.787a84.963 84.963 0 012.109-17.038 8.01 8.01 0 0110.008-6.015 8.008 8.008 0 015.634 9.392c-2.9 13.479-1.3 19.3-1.278 19.364a2.238 2.238 0 00-.092-.268l-5.6 2.074a7.988 7.988 0 01-10.781-7.509z"
        fill="#4c3aa3"
      />
    </Svg>
  );
}

Leo.defaultProps = {
  height: 120,
  width: 120,
  color: '#FFFFFFFF',
};

Leo.propTypes = {
  height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
  width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
  style: PropTypes.object,
  color: PropTypes.string,
};

export default Leo;
